<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="{{ asset('/admins/css/bootstrap.min.css') }}" rel="stylesheet"> 
    <script src="{{ asset('/admins/js/jquery.min.js') }}"></script>
    <script src="{{ asset('/admins/js/bootstrap.min.js') }}"></script>
</head>
<body>
    <center>
        <div class="page-header">
           <h2>修改用户地址信息</h2>         
        </div> 
        @if (count($errors) > 0)
            <div class="alert alert-danger">
              <ul>
                  @foreach ($errors->all() as $error)
                      <li>{{ $error }}</li>
                  @endforeach
            </ul>
            </div>
        @endif
    </center>
    <center>
        <div class="container-fluid">
            
            <form class="form-horizontal" role="form" action="/admin/Carousel/{{ $v->cId }}" method="post" enctype='multipart/form-data'>
                {{ csrf_field() }}
                {{ method_field('PUT') }}
                <div class="form-group">
                  <label for="inputimg" class="col-sm-5 control-label">ID：</label>
                  <div class="col-sm-2">
                    <input id="inputimg" type="text" name="cId" value="{{ $v->cId }}" disabled="disabled" />
                  </div>
                </div>
               <div class="form-group">
                  <label for="inputimg" class="col-sm-5 control-label">上传图片：</label>
                  <div class="col-sm-2">
                    <input type='file' name='cImg'>
                  </div>
               </div>
               <div class="form-group">
                  <label for="inputD" class="col-sm-5 control-label">描述：</label>
                  <div class="col-sm-2">
                    <input id="inputD" type="text" name="cDescription" value="{{ $v->cDescription }}"/>
                  </div>
               </div>
               <div class="form-group">
                  <label for="link" class="col-sm-5 control-label">图片链接：</label>
                  <div class="col-sm-2">
                    <input id="link" type="text" name="cLinks"/>
                  </div>
               </div>
               <div class="form-group">
                  <div class="col-sm-offset-5 col-sm-2">
                     <button type="submit" class="btn btn-default">确认修改</button>
                  </div>
               </div>
            </form>
        </div>
    </center>
    </body>
</html>